/**
 * Created the 7:08:35 PM.
 */
package com.google.code.head2head.gwtmodules.client.dto;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * @author Eric Bellard - eric.bellard@gmain.com Copyright © 2007 Eric Bellard.
 *         All rights reserved.
 */

public class Grade implements IsSerializable{

	private Long id;
	private int grade;
	private WebUser user;
	private Entry entry;
	private String ip;

	/**
	 * @return the id
	 */
	public Long getId() {
		return id;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * @return the grade
	 */
	public int getGrade() {
		return grade;
	}

	/**
	 * @param grade
	 *            the grade to set
	 */
	public void setGrade(int grade) {
		this.grade = grade;
	}

	/**
	 * @return the user
	 */
	public WebUser getUser() {
		return user;
	}

	/**
	 * @param user
	 *            the user to set
	 */
	public void setUser(WebUser user) {
		this.user = user;
	}

	/**
	 * @return the entry
	 */
	public Entry getEntry() {
		return entry;
	}

	/**
	 * @param entry
	 *            the entry to set
	 */
	public void setEntry(Entry entry) {
		this.entry = entry;
	}

	/**
	 * @return the ip
	 */
	public String getIp() {
		return ip;
	}

	/**
	 * @param ip
	 *            the ip to set
	 */
	public void setIp(String ip) {
		this.ip = ip;
	}

}
